<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="js/angular.min.js"></script>
</head>
<body>
<h3>ng-model:表名在@scope中定义一个username变量,在{{}}中可以获取已经定义的变量</h3>
    <div ng-app>
        用户名:<input ng-model="username" /><br>
        用户名:{{username}}
        {{100+100}}
    </div>
</body>
</html>